/*
 * TuplesProcessing.h
 *
 *  Created on: 31/01/2014
 *      Author: root
 */

#ifndef TUPLESPROCESSING_H_
#define TUPLESPROCESSING_H_

#include <iostream>
#include <list>
#include <stdlib.h>
#include <time.h>
#include <errno.h> //? para ETIMEDOUT
#include "Utils.h"
#include "DppmParams.h"
#include <openmpi/mpi.h>
#include "Tuple.h"

#define MASTER_RANK 0
#define BEST_SOLUTION_UPDATE 1
#define PROCESS_END 2
#define YOU_ARE_FREE_TO_GO 3


int TuplesProcessing();
int evalSolution(int * candidate);

#endif /* TUPLESPROCESSING_H_ */
